package com.meilai.project.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.meilai.project.entity.system.MediaTypeSpecPrice;
import com.meilai.project.vo.business.media.MediaTypeSpecPriceVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 点位类型-规格-价格 Mapper 接口
 * </p>
 *
 * @author haiYangX
 * @since 2022-05-28
 */
public interface MediaTypeSpecPriceMapper extends BaseMapper<MediaTypeSpecPrice> {

    List<MediaTypeSpecPriceVO> allList(@Param("media_type_spec_id") Long media_type_spec_id);

    List<MediaTypeSpecPriceVO> listByIdList(@Param("idList") List<Long> idList);

    List<MediaTypeSpecPrice> listHasMediaTypeId(@Param("ids") List<Long> ids);
}
